import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './mock'
import axios from 'axios';
import router from './router';

// axios.defaults.baseURL = "http://localhost:8888"
Vue.prototype.$http = axios

Vue.config.productionTip = false;

// 全局使用element组件
Vue.use(ElementUI);

new Vue({
  render: h => h(App),
  router:router
}).$mount('#app')
